# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-pytest-aiohttp
pkgver=1.0.4
pkgrel=0
pkgdesc="pytest plugin for aiohttp support"
options="!check" # no testsuite
url="https://github.com/aio-libs/pytest-aiohttp/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools py3-setuptools_scm py3-wheel"
source="https://files.pythonhosted.org/packages/source/p/pytest-aiohttp/pytest-aiohttp-$pkgver.tar.gz"
builddir="$srcdir/pytest-aiohttp-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
baf87e3aa229e8a4ab6746d277a923436ad2e0625825581c94a2fb0a9bbcd309bfc55186f8866589b65a75ccfd7d5b494d71554359724c0b2c9541ea94a177d8  pytest-aiohttp-1.0.4.tar.gz
"
